-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Tests] Add test for Grid with custom repository method #624
base: poc-new-resource-metadata
Are you sure you want to change the base?
[Tests] Add test for Grid with custom repository method #624
Conversation
loic425
commented
Mar 6, 2023
•
edited
Loading
edited
Q | A |
---|---|
Bug fix? | no |
New feature? | yes |
BC breaks? | no |
Deprecations? | no |
Related tickets | Fixes #626 |
License | MIT |
0a31845
to
b8d8c6c
Compare
b8d8c6c
to
744c1e8
Compare
public function createListQueryBuilder(): QueryBuilder | ||
{ | ||
$queryBuilder = $this->createQueryBuilder('o'); | ||
$queryBuilder->andWhere($queryBuilder->expr()->isNotNull('o.archivedAt')); | ||
|
||
return $queryBuilder; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you add this code?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The goal of this PR is to test if the grid configuration is applied (such as a repository method defined on the grid)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, but where is it used?
744c1e8
to
eebcb64
Compare
b5a7698
to
5ad1d7d
Compare